package org.jeecg.modules.tencent_esign.tencent_upload.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description: 腾讯电子签配置类
 * @Author: jeecg-boot
 * @Date: 2025-06-28
 * @Version: V1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "tencent.esign")
public class TencentEsignConfig {

    /**
     * 应用ID (对应腾讯云的SecretId)
     */
    private String appId = "AKID41nQr56uXxCG8nFUXP4WloeNsAKJ4cx5";

    /**
     * 密钥 (对应腾讯云的SecretKey)
     */
    private String secret = "ykKhsCSbZN7e0BByYv661iCex397sQm6";

    /**
     * 接口地址
     */
    private String apiUrl = "file.ess.tencent.cn";

    /**
     * 版本号
     */
    private String version = "2021-05-26";

    /**
     * 地域
     */
    private String region = "ap-beijing";
}